<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<title>部署系统</title>
<head th:replace="system/inc/incHead :: incHead"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content no-padding no-margins">
    <div class="ibox no-margins">
        <div class="ibox-title">
            <button class="btn btn-sm btn-info" type="button" ljUrl="/sys/system/add" title="添加系统" target="ljOpenCon">
                <i class="fa fa-paste">添加系统</i>
            </button>
            <button class="btn btn-sm btn-primary" ljUrl="/sys/system/editAll" title="一键编辑" target="ljOpenCon">
                <i class="fa fa-paste">一键编辑</i>
            </button>
            <button class="btn btn-sm btn-primary" ljUrl="/sys/system/replaceAll" title="一键替换" target="ljOpenCon">
                <i class="fa fa-paste">一键替换</i>
            </button>
            <button class="btn btn-white btn-bitbucket btn-sm pull-right btnPageRefresh" type="button"><i class="fa fa-refresh">页面刷新</i></button>
        </div>
        <div class="row no-margins no-padding">
            <div class="ibox no-margins no-padding">
                <div class="ibox-content" style="padding:10px;" layoutH="64">
                    <table class="table table-striped table-bordered table-hover table-responsive lj-table-nowrap">
                        <thead>
                        <tr>
                            <th style="width:60px;" class="text-center">系统序号</th>
                            <th style="width:150px;">系统编号</th>
                            <th style="width:200px;">系统名称</th>
                            <th style="width:100px;">部署地址</th>
                            <th style="width:100px;">访问地址</th>
                            <th style="width:140px;">添加时间</th>
                            <th style="width:200px;">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr th:each="item:${systemList}" class="warning">
                            <td class="text-center">[[${item.systemSort}]]</td>
                            <td>[[${item.systemCode}]]</td>
                            <td>[[${item.systemName}]]</td>
                            <td>[[${item.systemHost}]]:[[${item.systemPort}]]</td>
                            <td><a th:href="${item.systemUrl}">[[${item.systemUrl}]]</a></td>
                            <td>[[${@lj.date(item.createTime)}]]</td>
                            <td class="p-xxs">
                                <button class="btn btn-xs btn-primary" th:ljUrl="@{/sys/system/edit(id=${item.id})}"
                                        th:title="@{'系统编辑:'+${item.id}}"
                                        target="ljOpenCon">
                                    <i class="fa fa-paste">系统编辑</i>
                                </button>
                                <button class="btn btn-xs btn-success" th:ljUrl="@{/sys/system/detail(id=${item.id})}"
                                        th:title="@{'系统详情:'+${item.id}}"
                                        target="ljOpenCon">
                                    <i class="fa fa-paste">系统详情</i>
                                </button>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:replace="system/inc/incBottom :: incBottom"></div>
</body>
</html>